//
//  SystemUtils.h
//  SDTV_IOS
//
//  Created by sdtv on 12-12-3.
//  Copyright (c) 2012年. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface SystemUtils : NSObject

//比较版本号 2.0.0
+(BOOL)needUpdated:(NSString *)newVersion
        OldVersion:(NSString *)oldVersion;

//把NSString类型的时间数据转化为NSDate对象
+(NSDate *)dateByString:(NSString *)str;

//把NSDate对象数据转化为NSString类型的时间
+ (NSString*)stringByDate:(NSDate*)time;

+(BOOL)date:(NSDate*)date betweenDate:(NSDate*)beginDate andDate:(NSDate*)endDate;

+ (id)nullObjResolve:(id)text;

+ (id)emptyStringResolve:(id)text;

+(NSString *)handleImageUrl:(id)url;

+(NSString *)revertQNBigUrl:(NSString *)url;


@end
